package com.syl.orm.ibatis;

import java.util.List;

/**
 * @Description: 对数据库操作的查询接口
 * @author: YunLong
 * @date: 2022-08-25 16:33
 **/
public interface SqlSession {

    <T> T selectOne(String statement);

    <T> T selectOne(String statement, Object parameter);

    <T> List<T> selectList(String statement);

    <T> List<T> selectList(String statement, Object[] parameter);

    void close();
}
